// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/css/layout.css'
import './assets/fonts/iconfont.css'
import './assets/css/reset-element-ui.css'
import './assets/css/bi-common.css'
import 'vue-draggable-resizable/dist/VueDraggableResizable.css'
import VueDraggableResizable from 'vue-draggable-resizable'
// 引入
import echarts from 'echarts'
import store from './store'
import $http from './utils/request'

Vue.prototype.$echarts = echarts
Vue.prototype.$http = $http
Vue.config.productionTip = false

Vue.use(ElementUI, {
  size: 'small'
})
Vue.component('vue-draggable-resizable', VueDraggableResizable)
/* eslint-disable no-new */
new Vue({
  el: '#biapp',
  router,
  store,
  components: { App },
  template: '<App/>'
})
